#ifndef __UICALLRECWND__H__
#define __UICALLRECWND__H__

#include <MZFCLIB.h>

#include	"iUiButton.h"
#include	"UiStatusBar.h"
#include	"CallRecList.h"

typedef enum _tagCallRecWndBtnDisplay
{
	CALL_REC_WND_CALL_OUT = 0,
	CALL_REC_WND_CALL_IN,
	CALL_REC_WND_MISSED,
	CALL_REC_WND_DELETE,
	MAX_CALL_REC_WND_BTN,
} CALL_REC_WND_BTN;

class UiCallRecWnd :
	public UiWin
{
public:
	UiCallRecWnd();
	~UiCallRecWnd();

	BOOL InitUiWin(void);

	void PaintWin(HDC hdc, RECT* prcWin, RECT* prcUpdate);
	virtual int OnLButtonDown(UINT fwKeys, int xPos, int yPos);
	virtual int OnLButtonUp(UINT fwKeys, int xPos, int yPos);
	virtual void DeleteImages();

	void LoadiInterItem();
	BOOL InitImages();
public:
	iUiButton m_BtnCallRecWnd[MAX_CALL_REC_WND_BTN];
	ImagingHelper	*m_CallRecWndBG;

	HDC				m_hBakDC;
	HBITMAP			m_hBitmapBakDC;
	CCallRecList m_listCallRec;

};

#endif